<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>叩丁狼客户管理系统->用户登录</title>
<link rel="stylesheet" href="/css/core.css" type="text/css" />
	<link rel="stylesheet" href="/js/plugins/bootstrap/css/bootstrap.css">
	<link rel="stylesheet" href="/css/core.css" type="text/css" />
	<script src="/js/plugins/jquery/jquery-2.1.4.min.js"></script>
	<script src="/js/plugins/bootstrap/js/bootstrap.js"></script>
	<script src="/js/plugins/echarts/echarts.common.min.js"></script>
</head>
<body>
<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<h4 class="modal-title"></h4>
</div>
<div class="modal-body">
	<div id="main" style="width: 600px;height:400px;"></div>
	<script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('main'));

        // 指定图表的配置项和数据
        var option = {
            title: {
                text: '潜在客户报表',
                subtext:'分组类型:${groupTypeName}'
            },
            tooltip: {},
            legend: {
                data:['新增客户数']
            },
            xAxis: {
                data: ${groupTypes}
            },
            yAxis: {},
            series: [{
                name: '新增客户数',
                type: 'bar',
                data: ${customerNums}
            }]
        };

        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
	</script>
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
	<button type="button" class="btn btn-primary saveBtn" >确认</button>
</div>
</body>
</html>